const urllist = {
  def: {
    host: 'http://192.168.2.112',
    port: '9870',
    path: '',
  },
};
const creatURL = (object) => {
  let { host, port, path } = object;
  path = path ? '/' + path : '';
  return `${host}${port ? ':' + port : ''}${path}`;
};
const baseURL = creatURL(urllist.def);
export { baseURL };
